<?php /* Smarty version 2.6.18, created on 2009-11-19 00:16:44
         compiled from reportFMATS_table.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'cycle', 'reportFMATS_table.tpl', 16, false),array('modifier', 'string_format', 'reportFMATS_table.tpl', 24, false),)), $this); ?>

<table width="100%" class="grid">
		<tr bgcolor="#cccccc">
			<td><label><b>Shipment ID</b></label></td>
			<td><label><b>PO ID</b></label></td>
			<td><label><b>Fishery Management Area</b></label></td>
			<td><label><b>Shipment Date</b></label></td>
			<td><label><b>Number Delivered</b></label></td>
			<td><label><b>DOA</b></label></td>
			<td><label><b>Reject</b></label></td>
			<td><label><b>Revenue</b></label></td>
			<td><label><b>Shipment Method</b></label></td>
			<td><label><b>Freight</b></label></td>
		</tr>
	<?php $_from = $this->_tpl_vars['results']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['result']):
?>	
		<tr class="<?php echo smarty_function_cycle(array('values' => "notify,blue"), $this);?>
">
			<td><label><b><?php echo $this->_tpl_vars['result']['shipment_id']; ?>
</b></label></td>
			<td><label><b><?php echo $this->_tpl_vars['result']['po_id']; ?>
</b></label></td>
			<td><label><b><?php echo $this->_tpl_vars['result']['ship_name']; ?>
</b></label></td>
			<td><label><b><?php echo $this->_tpl_vars['result']['date_shipment']; ?>
</b></label></td>
			<td><label><b><?php echo $this->_tpl_vars['result']['received_quantity']; ?>
</b></label></td>
			<td><label><b><?php echo $this->_tpl_vars['result']['doa_quantity']; ?>
</b></label></td>
			<td><label><b><?php echo $this->_tpl_vars['result']['reject_quantity']; ?>
</b></label></td>
			<td><label><b><?php echo ((is_array($_tmp=$this->_tpl_vars['result']['received_amount'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%.2f") : smarty_modifier_string_format($_tmp, "%.2f")); ?>
</b></label></td>
			<td><label><b><?php echo $this->_tpl_vars['result']['name']; ?>
</b></label></td>
			<td><label><b><?php echo $this->_tpl_vars['result']['trading_name']; ?>
</b></label></td>
		</tr>
	<?php endforeach; endif; unset($_from); ?>
</table>


	
	
	